/**
 * Project: report2imolike
 * File name: gui.h
 * Description:  This class provides GUI for all project
 *
 * @author Vladimir Burgić, Petnica Meteor Group http://meteori.rs, Copyright (C) 2011.
 * @version 0.2
 *
 * @see The GNU Public License 3 (GPL)
 */
/*
 *   This file is part of report2imolike project.
 *
 *   Report2imolike is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   Report2imolike is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with report2imolike.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef GUI_H
#define GUI_H

#include <QDialog>

#include "ui_designergui.h"
#include "transformer.h"
#include "preview.h"

class Gui : public QDialog
{
    Q_OBJECT
public:
    Gui(QWidget *parent = 0);

signals:

public slots:
    void getInputFileNames();
    void getOutputDirName();
    void getSolLongFileName();
    void showAbout();
    void previewData();
    void exportData();
    void parseErrors(int error);

private slots:
    void resetInfix(bool useCustomInfix);

private:

    Ui::DesignerGui ui;
    Transformer * itsTransformer;
    Preview * itsPreview;


    QString baseDir;
    QString defaultInfix;
};

#endif // GUI_H
